package com.newhis.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

@Component
public class ApplicationDestroy implements DisposableBean {
    private static final Logger log = LoggerFactory.getLogger(ApplicationDestroy.class);
    @Override
    public void destroy() throws Exception {
        log.info("===================服务关闭成功======================");
    }
}
